package top.yeyusmile.pojo;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * @author 夜雨
 * @Web www.yeyusmile.top
 * @date 2022/7/2 13:15
 */

public class NetEaseResult {

    @SerializedName("result")
    private NetResult result;

    private Integer code;

    public class NetResult {

        @SerializedName("songs")
        private List<Song> songs;

        public  class Song {
            private Long id;
            private String name;

            public Long getId() {
                return id;
            }

            public void setId(Long id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            @Override
            public String toString() {
                return "Song{" +
                        "id=" + id +
                        ", name='" + name + '\'' +
                        '}';
            }
        }

        public List<Song> getSongs() {
            return songs;
        }

        public void setSongs(List<Song> songs) {
            this.songs = songs;
        }

        @Override
        public String toString() {
            return "NetResult{" +
                    "songs=" + songs +
                    '}';
        }
    }


    public NetResult getResult() {
        return result;
    }

    public void setResult(NetResult result) {
        this.result = result;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "NetEaseResult{" +
                "result=" + result +
                ", code=" + code +
                '}';
    }
}
